Making EU election data great again

Smoking monkeys by David Teniers the Younger (1650)

Wikidata in short

Getting official MEP data

Data frame:

## # A tibble: 748 × 5
##           country                      fullName     id
##             <chr>                         <chr>  <int>
## 1          Sweden               Lars ADAKTUSSON 124990
## 2           Italy             Isabella ADINOLFI 124831
## 3           Italy                Marco AFFRONTE 124797
## 4           Italy                    Laura AGEA 124811
## 5  United Kingdom             John Stuart AGNEW  96897
## 6           Spain Clara Eugenia AGUILERA GARCÍA 125045
## 7           Italy                 Daniela AIUTO 124842
## 8  United Kingdom                      Tim AKER  99650
## 9           Spain          Marina ALBIOL GUZMÁN 125048
## 10        Germany          Jan Philipp ALBRECHT  96736
## # ... with 738 more rows, and 2 more variables:
## #   nationalPoliticalGroup <chr>, politicalGroup <chr>

What countries?

What political groups?

MEPs in Wikidata

## # A tibble: 3,717 × 7
##                                      mep             mepLabel mepId
##                                    <chr>                <chr> <int>
## 1  http://www.wikidata.org/entity/Q67177    Jakob von Uexkull  1499
## 2  http://www.wikidata.org/entity/Q67919          Heide Rühle  4294
## 3  http://www.wikidata.org/entity/Q68016         Helga Trüpel 28240
## 4  http://www.wikidata.org/entity/Q68020       Hiltrud Breyer  1059
## 5  http://www.wikidata.org/entity/Q68020       Hiltrud Breyer  1059
## 6  http://www.wikidata.org/entity/Q68044          Reimer Böge  1037
## 7  http://www.wikidata.org/entity/Q68050  Giampiero Boniperti  2034
## 8  http://www.wikidata.org/entity/Q68431        Bernd Posselt  2229
## 9  http://www.wikidata.org/entity/Q69659 Elisabeth Schroedter  1933
## 10 http://www.wikidata.org/entity/Q69674       Michael Cramer 28238
## # ... with 3,707 more rows, and 4 more variables: mepImage <chr>,
## #   mepCityBorn <chr>, mepCityBornLabel <chr>, cityCoordinates <chr>

Mapping Wikidata MEPs